package cn.kust.serviceusercenter.config;

import com.github.pagehelper.PageInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

public class UserCenterConfig {


    @Configuration
    @MapperScan("cn.kust.serviceusercenter.mapper")
    public class MyBatisPlusConfig {

        @Bean
        public PageInterceptor pageInterceptor() {
            return new PageInterceptor();
        }
    }

}
